{% extends 'title.html' %}

{% block content %}

    <form action="/title_edit/{{ title.id }}/" method="post" style="text-align: center;">
        <p style="font-size: 30px">编辑</p>

        <div style="margin-top: 30px">
            {% csrf_token %}
            {{ form.as_p }}
        </div>
        <button type="submit" class="btn btn-success">保存</button>
    </form>

{% endblock %}